package com.itqf.service;

import com.itqf.entity.Address;

import java.sql.SQLException;
import java.util.List;

public interface AddressService {
    List<Address> findAllAddressByUserno(int userno) throws SQLException;

    void saveAddress(Address address) throws SQLException;

    void deleteAddressByAid(String aid) throws SQLException;

    void astAddressDefaultByAid(String aid, int userno) throws SQLException;

    void updateAddress(Address address) throws SQLException;

}
